/*
 * @Author: cgl
 * @Date: 2023-04-18 18:12:13
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-24 15:48:11
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\basicData\inspectionType.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询检测类型列表
export function inspectionTypeList(params) {
  return request({
    url: '/basic/inspection/type/list',
    method: 'get',
    params,
  })
}
// 导出检测类型列表
export function inspectionTypeExport(data) {
  return request({
    url: `/basic/inspection/type/export`,
    method: "post",
    data,
  });
}
// 获取检测类型详细信息
export function inspectionTypeDetail(inspectionTypeId) {
  return request({
    url: '/basic/inspection/type/getInfo/' + inspectionTypeId,
    method: 'get'
  })
}
// 新增检测类型
export function inspectionTypeAdd(data) {
  return request({
    url: `/basic/inspection/type/add`,
    method: "post",
    data,
  });
}
// 修改检测类型
export function inspectionTypeEdit(data) {
  return request({
    url: '/basic/inspection/type/edit',
    method: 'post',
    data,
  })
}
// 删除检测类型
export function inspectionTypeDelete(inspectionTypeIds) {
  return request({
    url: '/basic/inspection/type/remove/' + inspectionTypeIds,
    method: 'get'
  })
}